package com.srs.backend.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CanCook {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer chefId;
    private Integer foodId;
    private transient String chefName;
    private transient String foodName;
    public CanCook(Integer id, Integer chefId, Integer foodId) {
        this.id = id;
        this.chefId = chefId;
        this.foodId = foodId;
    }
}
